import unittest
from config.Config import *
from api.Api import Api


class Xg_Mm(unittest.TestCase):

    def test_xg_mm(self):
        api_ele = ['post',gl_xgmm,gl_xgmm_data,gl_xg_headers]
        Api().send_api(api_ele=api_ele)
        self.value = Api().api_json_assert()
        assert self.value['msg'] == '修改密码成功！'